package com.hyzx.qbasic.admin.model.vo.req.admin;

import com.hyzx.qbasic.admin.model.vo.req.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by 黄江华 on 2018/11/21
 */

@ApiModel
public class EditProcessCategoryReq extends BaseRequest {

    @NotNull(message = "流程分类Id不能为空")
    @Min(value = 1, message = "流程分类Id必须大于0")
    private Integer processCategoryId;

    @ApiModelProperty("流程分类key")
    @NotEmpty(message = "流程分类key不能为空")
    @Length(max = 64, message = "流程分类key不能超过64个字符")
    private String processCategoryKey;

    @ApiModelProperty("流程分类名称")
    @NotEmpty(message = "流程分类名称不能为空")
    @Length(max = 64, message = "流程分类名称不能超过64个字符")
    private String processCategoryName;

    public Integer getProcessCategoryId() {
        return processCategoryId;
    }

    public void setProcessCategoryId(Integer processCategoryId) {
        this.processCategoryId = processCategoryId;
    }

    public String getProcessCategoryKey() {
        return processCategoryKey;
    }

    public void setProcessCategoryKey(String processCategoryKey) {
        this.processCategoryKey = processCategoryKey;
    }

    public String getProcessCategoryName() {
        return processCategoryName;
    }

    public void setProcessCategoryName(String processCategoryName) {
        this.processCategoryName = processCategoryName;
    }
}
